<%@ page import="com.scalar.chiptrack.utils.ConfigManager,
                 com.scalar.forecast.forecastEntry.SearchField,
                 java.util.ArrayList,
                 com.scalar.forecast.forecastEntry.forms.ForecastEntrySearchForm"%>
<%@ page import="com.scalar.chiptrack.commons.Constants" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"  prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld"  prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-nested.tld"  prefix="nested"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld"  prefix="bean"%>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>

<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<!-- Top Header Start-->
<%
    String userTypeChiptrac = Constants.USER_TYPE_CHIPTRAC + "";
%>
    <logic:equal value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
        <%@ include file="/jsp/includes/header.jsp" %>
    </logic:equal>
    <logic:notEqual value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
        <%@ include file="/jsp/includes/extHeader.jsp" %>
    </logic:notEqual>
<!-- Top Header End-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><!--TBODY-->
  <TBODY>
  <TR>
    <TD vAlign=top width=180 background="<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif">
  <!-- Side Navigation start -->
    <logic:equal value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
        <%@ include file="/jsp/marketing/marketing_report_menu.jsp" %>
    </logic:equal>
    <logic:notEqual value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
        <%@ include file="/jsp/forecast/external_forecast_menu.jsp" %>
    </logic:notEqual>
 <!-- end of the side navigations -->
    <TD bgColor=#ffffff><IMG height=9
      src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8></TD>
    <TD bgColor=#ffffff><IMG height=480
      src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=10></TD>
    <TD vAlign=top width="100%"><IMG height=1
      src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0> <BR>
<!-- from here your body starts -->
<form>
      <TABLE width="100%" align=center border=0>
        <TBODY>
        <TR>
          <TD class=NArialW align=middle colSpan=5></TD></TR>
        <TR>
          <TD colSpan=5>&nbsp;</TD></TR>
        <TR><TD colspan='5' id='errorMessagesId'><chiptrack:errors styleClass='NArialL' /></TD></TR>
        <TR><TD colspan='5' id='infoMessagesId'><chiptrack:info styleClass='NArialL' /></TD></TR>
        <TR><TD colspan='5' class="NArialL"><chiptrack:messages type="info" styleClass="NArialL" /></TD></TR>
        <TR><TD colspan='5' class="NArialL"><FONT id="errorsId"  color='FF0000'></FONT></TD></TR>
        <TR>
          <TD colSpan=5>&nbsp;</TD></TR>

        </TBODY>
    </TABLE>
    </TD>
</TR>
</form>

</TBODY></TABLE></TD>

<!-- Footer starts here -->
<%@ include file="/jsp/includes/footer.jsp" %>
<!-- footer end here -->
</BODY>
</HTML>
